package com.caiyouxi.user.model;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/11/17.
 */
public class ReturnAttributeBean implements Serializable{


    /**
     * 用户ID
     */
    private Integer user_id;

    /**
     * 类型
     */
    private String target;


    /**
     * 该安全码的用途。
     * 有以下值之一：
     * REG：注册；R
     * ESET_PWD：重置密码；
     * BIND：绑定；
     * UNBIND：取消绑定；
     * LOGIN：登录；等。
     * 根据业务需要可以扩充定义。每个代码都对应一个具体业务用途。
     */
    private String action;

    /**
     * 真实姓名
     */
    private String realname;

    /**
     * 身份证号
     */
    private String id_card;


    /**
     * 用户名
     */
    private String username;

    /**
     * 用户昵称
     */
    private String nickname;

    /**
     * 实名状态
     */
    private Boolean auth_status;

    /**
     * 访问令牌
     */
    private String token;

    /**
     * 令牌过期时间
     */
    private Long failure_time;

    /**
     * 绑定手机
     */
    private String bind_phone;


    private AccountBean account;



    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getId_card() {
        return id_card;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Boolean getAuth_status() {
        return auth_status;
    }

    public void setAuth_status(Boolean auth_status) {
        this.auth_status = auth_status;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getFailure_time() {
        return failure_time;
    }

    public void setFailure_time(Long failure_time) {
        this.failure_time = failure_time;
    }

    public String getBind_phone() {
        return bind_phone;
    }

    public void setBind_phone(String bind_phone) {
        this.bind_phone = bind_phone;
    }

    public AccountBean getAccount() {
        return account;
    }

    public void setAccount(AccountBean account) {
        this.account = account;
    }
}
